package com.example.zhongshuishi.service;


import com.example.zhongshuishi.entity.PersonnelDto;

import java.util.List;

/**
 * @author 鑳℃垬纾�
 * @version 1.0
 * @description TODO
 * @date 2025/3/29 11:19
 */
public interface PersonnelService {
    int insert(PersonnelDto personnelDto);

    int deleteById(String id);

    int update(PersonnelDto personnelDto);

    PersonnelDto selectById(String id);

    List<PersonnelDto> selectByParentId(Integer parentId);

    PersonnelDto selectByPhone(String phone);
}
